<!--{include file="`$theme_name`/header.html" page_title="`$page_title`" nav_id="`$nav_id`"}-->
<style type="text/css">
@import url({$theme_img_path}css/effect.css);
</style>
<script src="scripts/jquery.tools.js"></script>

<div class="wrapper">
	<div class="content">
	<div class="tips"><span>{$position}</span></div>
    <div class="blank6"></div>
    <div class="detailtopcon clearfix">
			<h3>{$item.title}</h3>
            {if $item.picture}
			<div class="detailtopconleft">
				<p class="left1"><img src="{$item.image}" alt="" width="80" height="80" /></p>
				<p class="left2"><a href="misc.php?source={$item.image_url}" target="_blank"><img src="{$theme_img_path}images/detail_17.jpg" alt="" /></a><span>{lang enlarge_image}</span></p>
			</div>
            {/if}
			<div class="detailtopconleft2">
				  <p>{$item.title}</p>
				  <p>{lang publish_time}{$item.pubdate}</p>
				  <!-- {if $item.price} --><p>{lang the_price_n}<em class="value">{$item.price}</em></p><!-- {/if} -->
				  <p>{lang area}{$item.area_names}</p>
                   <p>{lang belong_industry}{$item.industry_names}</p>
				   <!-- {if $item.tag} --><p>{lang keyword}{$item.tag}</p>
				   <!-- {/if} -->
				   				   
					<!--{foreach from=$ObjectParams name=op item=tparam}-->
							{if $tparam.value}
							<p>{$tparam.label}:{$tparam.value}</p>
							{/if}
					<!--{/foreach}-->					
				   
				 <p style="text-align: left;">
					<br />
					<label>
					  <input type="button" name="favor" value="{lang to_inquiry}"  class="leftbutton" onclick="redirect('{$SiteUrl}product/inquery.php?id={$item.id}');" />
					</label>
                   {if $pb_userid==$item.member_id}
					<label>
					  <input type="button" name="edit" value="{lang to_edit}"  class="leftbutton" onclick="redirect('{$SiteUrl}virtual-office/product.php?do=edit&id={$item.id}');" />
					</label>
					{/if}
					 {if $pb_username}
					<label>
					  <input type="button" name="price" value="{lang to_price}"  class="leftbutton" onclick="redirect('{$SiteUrl}virtual-office/price.php?do=edit&productid={$item.id}');" />
					</label>
                    {/if}
			  </p>			  
			</div>
			
			<div class="detailtopconright" style="width:330px;">
				<p class="right1">{if $item.companyname}
<a href="{the_url module=space userid=`$item.space_name`}" target="_blank" title="{$item.companyname}">{$item.companyname}</a>{else}{lang released_by_personnal}{/if}</p>
				<p>{lang contact_people}{$item.link_people}<br />
				{lang member_type}<img src="{$MEMBER.groupimage}" alt="{$MEMBER.groupname}" /><br />
				{lang reputation_index_n}{$MEMBER.credits}<br />
				{lang authentication_type}{$MEMBER.trust_image}<br />
				</p>
			</div>
		</div>	
    <div class="blank6"></div>
	<div class="detailtop3">
		<div class="detailtop3left">
		    <!--# the tabs #-->
            <ul class="tabs2 title_mouse">
				  <li><a href="#"><span>{lang details}</span></a></li>
                  <li><a href="#"><span>Tư vấn</span></a></li>
                  <li><a href="#"><span>Tính năng</span></a></li>
				  <li><a href="#"><span>Cài đặt</span></a></li>
				  <li><a href="#"><span>Hướng dẫn sử dụng</span></a></li>
            </ul>
            <!--# tab "panes" #-->
			<div class="panes box_bord">
				<div class="lasestcontbox1 underline" id="latest-offer-1">
					<div class="detailtop3leftcon">
					   {$item.content|nl2br|stripslashes}
					</div>				
				</div>
			</div>
			
			<div class="panes box_bord">
				<div class="lasestcontbox1 underline" id="latest-offer-2">
					<div class="detailtop3leftcon">
					   Tư vấn
					</div>				
				</div>
			</div>
			<div class="panes box_bord">
				<div class="lasestcontbox1 underline" id="latest-offer-3">
					<div class="detailtop3leftcon">
					   Tính năng
					</div>				
				</div>
			</div>
			<div class="panes box_bord">
				<div class="lasestcontbox1 underline" id="latest-offer-4">
					<div class="detailtop3leftcon">
					   Cài đặt
					</div>				
				</div>
			</div>
			<div class="panes box_bord">
				<div class="lasestcontbox1 underline" id="latest-offer-5">
					<div class="detailtop3leftcon">
					   Hướng dẫn sử dụng
					</div>				
				</div>
			</div>

		</div>
		
		<div class="detailtop3right">
            {if $pb_username==""}
				 <div class="contacttype">
				<h3><img src="{$theme_img_path}images/lhighs.gif" />{lang contact}</h3>
				<p>{lang address}{$item.address}<br /> 
				   {lang zip}{$item.zipcode}<br /> 
				   {lang phone}{$item.tel}<br />
				   {lang fax}{$item.fax}<br /> 
				   {lang website}{$item.site_url}</p>
				</div>
            {else}
		  <div class="contacttype">
				<h3><img src="{$theme_img_path}images/lhighs.gif" />{lang contact}</h3>
				<p>{lang address}{$item.address}<br /> 
				   {lang zip}{$item.zipcode}<br /> 
				   {lang phone}{$item.tel}<br />
				   {lang fax}{$item.fax}<br /> 
				   {lang website}{$item.site_url}</p>
		  </div>
            {/if}
			<div class="contacttype">
				<h3><img src="{$theme_img_path}images/lhighs.gif" alt="" />{lang add_information_release}</h3>
				<ul>
                	{pb:product memberid=`$item.member_id` row=10 name="item"}
					<li>{$item.link}</li>
                    {/pb:product}
				</ul>
			</div>
			<div class="contacttype">
				<h3><img src="{$theme_img_path}images/lhighs.gif" alt="" />{lang linked_product_price}</h3>
				<ul>
                	{price productid=`$item.id` row=10 name="item"}
					<li>{$item.link}</li>
                    {/price}
				</ul>
			</div>
		</div>
		<div class="clear"></div>
	</div>
</div>
<!--{literal}-->
<script>
$("#topMenuOffer").addClass("lcur");
$(function(){
    $("ul.tabs2").tabs("div.panes > div", {event:'mouseover'});
	$("[linkf='friendlink']").click(function(){
		window.location = SiteUrl+"redirect.php?url="+$(this).attr("href");
		return false;
	});
});
</script>
<!--{/literal}-->

<script>
$("#SearchFrm").attr("action","{the_url module=search}");
$("#hdDo").val("product");
$("#topMenuProduct").addClass("lcur");
</script>
<!--{include file="`$theme_name`/footer.html"}-->